package Typage;

import Error.TypeError;
import Semantique.ClassSymbolTable;
import Semantique.Visitor;

public class Efield extends Expr {
	public Loc loc;

	public Expr e;

	public Ident f;
	
	public ClassSymbolTable classSymbolTable;

	public Efield(Loc loc_init, Expr e_init, Ident f_init) {
		this.loc = loc_init;
		this.e = e_init;
		this.f = f_init;
	}

	@Override
	public void accept(Visitor v) throws TypeError {
		v.visit(this);
	}
}